package com.chenyaowei.product.domain;

import com.chenyaowei.common.annotation.Excel;
import com.chenyaowei.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 商品评价对象 cyw_pro_spu_comment
 *
 * @author 陈耀威
 * @date 2023-12-03
 */
public class CywProSpuComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** sku_id */
    @Excel(name = "sku_id")
    private Long skuId;

    /** spu_id */
    @Excel(name = "spu_id")
    private Long spuId;

    @Excel(name = "order_id")
    private Long orderId;

    /** 商品名字 */
    @Excel(name = "商品名字")
    private String spuName;

    /** 会员id */
    @Excel(name = "会员id")
    private Long memberId;

    /** 会员昵称 */
    @Excel(name = "会员昵称")
    private String memberNickName;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String memberIcon;

    /** 星级 */
    @Excel(name = "星级")
    private Integer star;

    /** 显示状态[0-不显示，1-显示] */
    @Excel(name = "显示状态[0-不显示，1-显示]")
    private Integer showStatus;

    /** 购买时属性组合 */
    @Excel(name = "购买时属性组合")
    private String skuAttributes;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long likesCount;

    /** 回复数 */
    @Excel(name = "回复数")
    private Long replyCount;

    /** 评论图片/视频[json数据；[{type:文件类型,url:资源路径}]] */
    @Excel(name = "评论图片/视频[json数据；[{type:文件类型,url:资源路径}]]")
    private String resources;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    private List<CywProSpuCommentReply> replyList;

    public List<CywProSpuCommentReply> getReplyList() {
        return replyList;
    }

    public void setReplyList(List<CywProSpuCommentReply> replyList) {
        this.replyList = replyList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSkuId(Long skuId)
    {
        this.skuId = skuId;
    }

    public Long getSkuId()
    {
        return skuId;
    }
    public void setSpuId(Long spuId)
    {
        this.spuId = spuId;
    }

    public Long getSpuId()
    {
        return spuId;
    }
    public void setSpuName(String spuName)
    {
        this.spuName = spuName;
    }

    public String getSpuName()
    {
        return spuName;
    }
    public void setMemberId(Long memberId)
    {
        this.memberId = memberId;
    }

    public Long getMemberId()
    {
        return memberId;
    }
    public void setMemberNickName(String memberNickName)
    {
        this.memberNickName = memberNickName;
    }

    public String getMemberNickName()
    {
        return memberNickName;
    }
    public void setMemberIcon(String memberIcon)
    {
        this.memberIcon = memberIcon;
    }

    public String getMemberIcon()
    {
        return memberIcon;
    }

    public void setStar(Integer star)
    {
        this.star = star;
    }

    public Integer getStar()
    {
        return star;
    }
    public void setShowStatus(Integer showStatus)
    {
        this.showStatus = showStatus;
    }

    public Integer getShowStatus()
    {
        return showStatus;
    }
    public void setSkuAttributes(String skuAttributes)
    {
        this.skuAttributes = skuAttributes;
    }

    public String getSkuAttributes()
    {
        return skuAttributes;
    }
    public void setLikesCount(Long likesCount)
    {
        this.likesCount = likesCount;
    }

    public Long getLikesCount()
    {
        return likesCount;
    }
    public void setReplyCount(Long replyCount)
    {
        this.replyCount = replyCount;
    }

    public Long getReplyCount()
    {
        return replyCount;
    }
    public void setResources(String resources)
    {
        this.resources = resources;
    }

    public String getResources()
    {
        return resources;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    @Override
    public String toString() {
        return "CywProSpuComment{" +
                "id=" + id +
                ", skuId=" + skuId +
                ", spuId=" + spuId +
                ", orderId=" + orderId +
                ", spuName='" + spuName + '\'' +
                ", memberId=" + memberId +
                ", memberNickName='" + memberNickName + '\'' +
                ", memberIcon='" + memberIcon + '\'' +
                ", star=" + star +
                ", showStatus=" + showStatus +
                ", skuAttributes='" + skuAttributes + '\'' +
                ", likesCount=" + likesCount +
                ", replyCount=" + replyCount +
                ", resources='" + resources + '\'' +
                ", content='" + content + '\'' +
                '}';
    }

}
